home *** CD-ROM | disk | FTP | other *** search
/ L' Effet Pommier 3 / L'Effet Pommier - Volume 03.iso / Graphismes / 3D / POV-Ray 3.0B5a PPC / POV-Ray 3.0B5a / POVSCN.Scenes / POVSCN / LEVEL1 / SHADOWS.POV < prev    next >
Text File  |  1995-11-08  |  1KB  |  88 lines

  1. // Persistence Of Vision raytracer version 3.0 sample file.
  2. // Area_light example
  3. // File by Steve Anger
  4.  
  5. #version 3.0
  6. global_settings { assumed_gamma 2.2 }
  7.  
  8. #include "colors.inc"
  9. #include "shapes.inc"
  10. #include "textures.inc"
  11.  
  12. camera {
  13.    location <0, 45, -45>
  14.    direction <0, 0, 1.5>
  15.    look_at <0, 0, 0>
  16. }
  17.  
  18. light_source {
  19.    <-10, 20, -10> color White
  20.  
  21.    area_light <4, 0, 0>, <0, 0, 4>, 9, 9
  22.    adaptive 1
  23.    jitter
  24.  
  25.    // Show what the light source looks like
  26.    looks_like {
  27.       box {
  28.          <-2, 0, -2>, <2, 0.1, 2>
  29.          pigment { White } finish { Luminous }
  30.       }
  31.    }
  32. }
  33.  
  34. // Floor
  35. plane { y, 0
  36.    pigment { Tan }
  37.    finish {
  38.       crand 0.015
  39.       ambient 0.12
  40.       diffuse 0.8
  41.    }
  42. }
  43.  
  44.  
  45. // A few simple objects to cast some fuzzy shadows
  46.  
  47. sphere {
  48.    <0, 7, 0>, 7
  49.  
  50.    pigment { Red }
  51.    finish {
  52.       ambient 0.1
  53.       diffuse 0.7
  54.       phong 1
  55.       phong_size 80
  56.    }
  57. }
  58.  
  59. box {
  60.    <-3, -3, -3>, <3, 3, 3>
  61.  
  62.    pigment { Gold filter 0.92 }
  63.    finish {
  64.       ambient 0.1
  65.       diffuse 0.7
  66.       ior 1.3
  67.       phong 1
  68.       phong_size 50
  69.    }
  70.  
  71.    rotate -40*y
  72.    translate <-6, 3, -14>
  73. }
  74.  
  75. cylinder {
  76.    <0, -4, 0>, <0, 4, 0>, 2.5
  77.  
  78.    translate <-17, 4, -8>
  79. // texture { Copper_Metal } - AAC reflection making this look wierd...
  80.    pigment { Copper }
  81.    finish {
  82.         ambient 0.1
  83.         diffuse 0.7
  84.         phong 1
  85.         phong_size 60
  86.     }
  87. }
  88.